package com.cnap.db.entity;

/**
 * 文件存储实体类
 *
 * @author xc
 **/
public class FileInfoPO {
    // id
    private String id;
    // 文件名称
    private String fileName;
    // MD5
    private String md5;
    // 大小
    private long totalSize;
    // 分片数量
    private int patchNums;

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return FileName
     */
    public String getFileName() {
        return fileName;
    }

    /**
     * set
     *
     * @param fileName fileName
     */
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    /**
     * get
     *
     * @return Md5
     */
    public String getMd5() {
        return md5;
    }

    /**
     * set
     *
     * @param md5 md5
     */
    public void setMd5(String md5) {
        this.md5 = md5;
    }

    /**
     * get
     *
     * @return TotalSize
     */
    public long getTotalSize() {
        return totalSize;
    }

    /**
     * set
     *
     * @param totalSize totalSize
     */
    public void setTotalSize(long totalSize) {
        this.totalSize = totalSize;
    }

    /**
     * get
     *
     * @return PatchNums
     */
    public int getPatchNums() {
        return patchNums;
    }

    /**
     * set
     *
     * @param patchNums patchNums
     */
    public void setPatchNums(int patchNums) {
        this.patchNums = patchNums;
    }
}
